<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/include/header.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${basePageTitle}</title>
<link href="${baseURL}/css/um/versionInfo.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
head = document.getElementsByTagName("head")[0];
cssLink = document.createElement("link");
cssLink.rel = cssLink.rev = "stylesheet";
cssLink.type = "text/css";
cssLink.media = "screen";
head.appendChild(cssLink);
if ($.browser.msie) {
	(function() {
		var e = "article,aside,details,figure,footer,header,nav,section"
				.split(','), i = e.length;
		while (i--) {
			document.createElement(e[i]);
		}
	})();
	cssLink.href = "${baseURL}/css/download_ie.css";
} else {
	cssLink.href = "${baseURL}/css/download.css";
}


	$(function() {
		loadData();
	});
	
	function loadData(){
		$.ajax({
			type: "post",
			url: "${baseURL}/versioninfo/showAll.action",
					dataType : "json",
					success : function(result) {
						var astr = "";
						for ( var i = 0; i < result.length; i++) {
							astr += "<li><a class='li_a' href='${baseURL}/versioninfo/publish.action?version_Id="
									+ result[i].versionId
									+ "' target='_blank'>恒拓运价魔方"
									+ result[i].versionNumber
									+ "正式发布啦！<span>"
									+ result[i].publishTime_str
									+ "</span></a></li>";
						}
						$(".version_content").html(astr);
					}
				});
	}
</script>

</head>
<body>
	<header>
	<%@ include file="/include/start/start_header1.jsp"%>
	</header>
	<center>
		<div class="main_version">
			<div class="main_version_t">
				<span></span>
			</div>
			<div class="main_version_b">
				<ul class="version_content"></ul>
			</div>
			<div class="main_version_f"></div>
		</div>
	</center>
	<footer>
	<%@ include file="/include/start/start_footer.jsp"%>
	</footer>
</body>
</html>